/**
 * Description:
 * Class Name:ProcessArray
 * Date:2022/1/30 17:35
 *
 * @author LTisme
 * @version JAVA17
 */
package 疯狂Java讲义.第6章_面向对象_下._6_6_接口_经Java9改进;

public class ProcessArray {
    public void process(int[] target, Command cmd){
        for (var t:
             target) {
            cmd.process(t);
        }
    }
}
